<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fn.tld" prefix="fn" %>
<div title="中心设备信息维护" id="centerDeviceSelectDialog" class="dialogtitle">
	<div class="searchbox">
		<span class="fontRed">注:</span>带"<span class="fontRed">*</span>"为必填项
		<form id="frmCenterDevice" onSubmit="return false">
			<input type="hidden" name="id" value="<c:out value='${centerDevice.id }'/>">
			<div><h3>基础信息:</h3></div>			
			<table id="centerDeviceTable" class="rvimsbordercolor"  cellspacing="0" cellpadding="0" style="border-top-width:1px;">
				<tr>
					<td align="right" style="width: 114px;">设备名称：<span class="fontRed">*</span></td>
					<td style="width: 230px;"><input type="text" name="deviceName" id="deviceName" value="<c:out value='${centerDevice.id }'/>"></td>
					<td align="right" style="width: 114px;">设备编号：<span class="fontRed">*</span></td>
					<td style="width: 230px;"><input type="text" name="deviceCode" id="deviceCode" value="<c:out value='${centerDevice.id }'/>"></td>
				</tr>
				<tr>
					<td align="right" style="width: 114px;">设备类型：<span class="fontRed">*</span></td>
					<td style="width: 230px;">
						<select id="deviceType" name="deviceType" style="width: 189px; ">
							<option value="">---请选择---</option>
							<c:forEach items="${lstcenterDevice}" var="centerDevice">
								<option value="${centerDevice.id}">${centerDevice.name}</option>
							</c:forEach>
						</select>
					</td>
					<td align="right" style="width: 114px;">所属单位：<span class="fontRed">*</span></td>
					<td style="width: 230px;">
						<select id="ownedOrganization" name="ownedOrganization" style="width: 189px; ">
							<option value="">---请选择---</option>
							<c:forEach items="${lstcenterDevice}" var="centerDevice">
								<option value="${centerDevice.id}">${centerDevice.name}</option>
							</c:forEach>
						</select>
					</td>	
				</tr>
				<tr>
					<td align="right" style="width: 114px;">设备型号：&nbsp;</td>
					<td style="width: 230px;"><input type="text" name="deviceModel" id="deviceModel" value="<c:out value='${centerDevice.id }'/>"></td>
					<td align="right" style="width: 114px;">设备状态：<span class="fontRed">*</span></td>
					<td style="width: 230px;">
						<select id="deviceStatus" name="deviceStatus" style="width: 189px; ">
							<option value="">---请选择---</option>
							<c:forEach items="${lstcenterDevice}" var="centerDevice">
								<option value="${centerDevice.id}">${centerDevice.name}</option>
							</c:forEach>
						</select>
					</td>						
				</tr>
				<tr>
		 			<td align="right" style="width:114px;">负责人：<span class="fontRed">*</span></td>
		 			<td style="width: 230px;"><input type="text"  id="supervisorName" name="supervisorName" ></td>
		 			<td align="right" style="width:114px;">联系方式：<span class="fontRed">*</span></td>
		 			<td style="width: 230px;"><input type="text"  id="contactWay" name="contactWay" ></td>
				</tr>
				<tr>			
					<td align="right" style="width:114px;">购买日期：<span class="fontRed">*</span></td>
 					<td style="width: 230px;"><input type="text" class="date" id="buyDate" name="buyDate" ></td>
 					<td align="right" style="width:114px;">所在位置：<span class="fontRed">*</span></td>
		 			<td style="width: 230px;"><input type="text"  id="location" name="location" ></td>
				</tr>
			</table>
</form>
<div id="infoCenterDevice" class="fontRed"></div>
 </div>
</div>			
<script>
	$("button").button();
	$(".date").datepicker({regional:"zh-CN"});
</script>
				